<!--*********************************************-->
 
http://me3ady.com
      
         
     
http://www.me3ady.com/vb3hack.html
<!--*********************************************-->


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+                                          +
+           :  All-the-vb (www.vbulletin-arab.com)        +
+                                                                   + 
+                       For vBulletin 3.0.0                         +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  ,
       
All-the-vb .

  :          

  : all-the-vb 

   :
    Lamyaa  
 

  :
       
      
         
         
    
   
    
         
 
     ;)



  :

1.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      phpmyadmin  :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

ALTER TABLE `THREAD` ADD `characteristic` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ;



2.   posting.php
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
eval(print_standard_redirect('redirect_post_manage'));
}


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
// ############################### start mmez ###############################

if ($_POST['do'] == 'mmez')
{

$forumperms = fetch_permissions($threadinfo['forumid']);

if($threadinfo['characteristic']==1){
$DB_site->query("UPDATE " . TABLE_PREFIX . "thread SET characteristic=0 WHERE threadid ='$threadinfo[threadid]'");
}else{
$DB_site->query("UPDATE " . TABLE_PREFIX . "thread SET characteristic=1 WHERE threadid ='$threadinfo[threadid]'");
}

	$_REQUEST['forceredirect'] = 1;
	$url = "showthread.php?$session[sessionurl]t=$threadid";
	eval(print_standard_redirect('redirects_mmez'));
}

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

  
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
	case 'editthread':
	case 'mergethread':
	case 'splitthread':

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

case 'mmez':

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   index.php

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 

eval('print_output("' . fetch_template('FORUMHOME') . '");');

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

$mmmezs = $DB_site->query("
SELECT thread.threadid,thread.postuserid,thread.postusername,thread.title  from " . TABLE_PREFIX . "
thread AS thread
where thread.characteristic!=0 order by thread.dateline desc");
while ($mmmez = $DB_site->fetch_array($mmmezs))
{

eval('$mmez_bits .= "' . fetch_template('mmez_bits') . '";');
}
eval('$mmez = "' . fetch_template('mmez') . '";');

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   showthread.php

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 

eval('print_output("' . fetch_template('SHOWTHREAD') . '");');

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

$your_froum=array();
$mods = $DB_site->query("select forumid from " . TABLE_PREFIX . "moderator
where userid='$bbuserinfo[userid]' ");
while ($mod = $DB_site->fetch_array($mods))
	{
array_push ($your_froum, $mod['forumid']);
}

if (in_array ($foruminfo['forumid'], $your_froum) or $bbuserinfo['usergroupid']==6) {

$how_mmez = $DB_site->query_first("select characteristic from " . TABLE_PREFIX . "thread
where threadid='$threadid' ");
}


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


3-    (mmez)
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
<table border="0" cellpadding="0" cellspacing="0"  width="100%">
  <tr>
    <td width="15%"><font class="highlight">$vbphrase[charathread] :</font> </td>
    <td width="85%"><marquee onmouseover=this.stop() onmouseout=this.start() scrollAmount=3 scrollDelay=0 direction=right width=100%>$mmez_bits</marquee>
</td>
  </tr>
</table>

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-    (mmez_bits)
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
<font class="smallfont"><a href="showthread.php?t=$mmmez[threadid]" title="vbpharse[by_mmez]: $mmmez[postusername]">$mmmez[title]</a>  
&nbsp; &nbsp; !@~~@! &nbsp;&nbsp;</font>


   (FORUMHOME)
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
$navbar

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

$mmez
<br />

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   (SHOWTHREAD)
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  :
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

<if condition="$how_mmez">
<div><label for="ao_mmez"><input type="radio" name="do" id="ao_mm" value="mmez" checked="checked" /><if condition="$how_mmez['characteristic']!=1">    <else />    </if></label></div>
</if>

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

4 -   Phrases 

    
 Languages & Phrases

   Phrase Manager

  add new phrase

  :

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Phrase Type: Front-End Redirect Messages
Varname: redirect_mmez
Text:   \     .



Phrase Type: Global
Varname: charathread
Text:  



Phrase Type: Global
Varname: by_mmez
Text: 



-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
               -+ All-the-vb +- 
<!--*********************************************-->
 
http://me3ady.com
      
         
     
http://www.me3ady.com/vb3hack.html
<!--*********************************************-->